package cn.iocoder.yudao.module.project.controller.admin.kisbom.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - bom数据新增/修改 Request VO")
@Data
public class KisBomSaveReqVO {

    @Schema(description = "bom主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "10420")
    private String id;

    @Schema(description = "bom导入日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "bom导入日期不能为空")
    private LocalDateTime receiptDate;

    @Schema(description = "型号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "型号不能为空")
    private String type;

    @Schema(description = "织板编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "织板编码不能为空")
    private String code;

    @Schema(description = "织板规格", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "织板规格不能为空")
    private String specification;

}